﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TestServer;

namespace BattleShips.GameServers.CommandRunners {
    class LoginSuccessful : ICommandRunner {
        public string RunCommand(Common.Command command, GameClient client, GameServer server) {
            server.GetOnlinePlayers().Add(client);
            return client.Username;
        }
    }
}
